package com.wisezone.net.ex04_server;

public class TestServerDemo {

    public static void main(String args[]) {
        SocketServers server = new SocketServers();//启动socket服务
        new Thread(new Runnable() {
            @Override
            public void run() {
                server.sendMessage();
            }
        }).start();

        new Thread(new Runnable() {
            @Override
            public void run() {
                server.receiveMesage();
            }
        }).start();

//        server.close();
    }
}
